import httpRequest from "@/http"
import { MyResponseType } from "@/bean/base/response";




export const addMenuGroupDetailApi = (params:Object) => {
    return httpRequest.post<MyResponseType<object>>("/comMenuGroupDetail/add",params);
}


export const updateMenuGroupDetailApi = (params:Object) => {
    return httpRequest.post<MyResponseType<object>>("/comMenuGroupDetail/update",params);
}

export const delMenuGroupDetailApi = (params:number) => {
    return httpRequest.post<MyResponseType<Object>>(`/comMenuGroupDetail/delete?id=${params}`,null);
}
